<style>
    :root {
        --primary-color: #bb86fc;
        --secondary-color: #03dac6;
        --background-color: #121212;
        --surface-color: #1e1e1e;
        --on-surface-color: #e0e0e0;
        --gradient-start: #4a0e4e;
        --gradient-end: #81185e;
        --shadow-color: rgba(0, 0, 0, 0.2);
    }

    body {
        width: 900px;
        font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background-color: var(--background-color);
        color: var(--on-surface-color);
        margin: 0;
        padding: 0;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    header {
        text-align: center;
        padding: 40px 0;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        border-radius: 0 0 50% 50% / 20px;
        margin-bottom: 40px;
        box-shadow: 0 4px 12px var(--shadow-color);
    }

    h1 {
        color: #ffffff;
        font-size: 2.5em;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .player-info {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 20px;
    }

    .player-photo {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 4px solid var(--secondary-color);
        object-fit: cover;
    }

    .player-name {
        font-size: 1.8em;
        font-weight: bold;
        color: #ffffff;
        margin-bottom: 5px;
    }

    .player-alias {
        font-size: 1.2em;
        color: var(--secondary-color);
        opacity: 0.9;
    }

    .platform-data {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px;
        margin: 30px 0;
    }

    .platform-card {
        background-color: var(--surface-color);
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 8px 16px var(--shadow-color);
        border: 1px solid var(--secondary-color);
        opacity: 0.8;
    }

    .platform-title {
        font-size: 1.4em;
        font-weight: bold;
        color: var(--secondary-color);
        margin-bottom: 20px;
        border-bottom: 2px solid var(--secondary-color);
        padding-bottom: 10px;
        text-align: center;
    }

    .data-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        align-items: center;
        padding: 8px 0;
    }

    .data-label {
        font-weight: bold;
        color: var(--primary-color);
    }

    .data-value {
        color: var(--on-surface-color);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .data-value .separator {
        width: 1px;
        height: 16px;
        background-color: var(--primary-color);
        opacity: 0.5;
    }

    .guobiao {
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
        margin: 20px 0;
        padding: 15px;
        background-color: rgba(187, 134, 252, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(187, 134, 252, 0.2);
    }

    .guobiao .data-label {
        font-size: 0.9em;
        margin-bottom: 8px;
        opacity: 0.9;
    }

    .guobiao .data-value {
        font-size: 1.8em;
        color: var(--primary-color);
        justify-content: center;
    }

    .plugin-name {
        text-align: center;
        margin-top: 40px;
        font-size: 0.9em;
        color: #7f7f7f;
        padding: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-summary {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        text-align: center;
        padding: 20px;
        background-color: var(--surface-color);
        border-radius: 10px;
        min-width: 150px;
        border: 1px solid var(--primary-color);
        opacity: 0.8;
    }

    .stat-value {
        font-size: 2em;
        font-weight: bold;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .stat-label {
        color: var(--secondary-color);
        font-size: 0.9em;
    }
</style>

<body>
    <header>
        <h1>英雄最低战力区域查询</h1>
        <div class="player-info">
            <img src="{{photo}}" alt="{{name}}" class="player-photo">
            <div>
                <div class="player-name">{{name}}</div>
                <div class="player-alias">{{alias}}</div>
            </div>
        </div>
    </header>
    <div class="container">
        <div class="stats-summary">
            <div class="stat-item">
                <div class="stat-value">{{minStats.guobiao}}</div>
                <div class="stat-label">最低国标分</div>
            </div>
            <div class="stat-item">
                <div class="stat-value">{{minStats.provincePower}}</div>
                <div class="stat-label">最低省份战力</div>
            </div>
            <div class="stat-item">
                <div class="stat-value">{{minStats.cityPower}}</div>
                <div class="stat-label">最低城市战力</div>
            </div>
            <div class="stat-item">
                <div class="stat-value">{{minStats.areaPower}}</div>
                <div class="stat-label">最低地区战力</div>
            </div>
        </div>
        <div class="platform-data">
            {{each data item}}
            <div class="platform-card">
                <div class="platform-title">{{item.platform}}</div>
                <div class="data-item">
                    <span class="data-label">省份：</span>
                    <span class="data-value">
                        <span>{{item.province}}</span>
                        <span class="separator"></span>
                        <span
                            style="font-weight: bold; font-size: 1.2em; color: var(--primary-color)">{{item.provincePower}}</span>
                    </span>
                </div>
                <div class="data-item">
                    <span class="data-label">城市：</span>
                    <span class="data-value">
                        <span>{{item.city}}</span>
                        <span class="separator"></span>
                        <span
                            style="font-weight: bold; font-size: 1.2em; color: var(--primary-color)">{{item.cityPower}}</span>
                    </span>
                </div>
                <div class="data-item">
                    <span class="data-label">地区：</span>
                    <span class="data-value">
                        <span>{{item.area}}</span>
                        <span class="separator"></span>
                        <span
                            style="font-weight: bold; font-size: 1.2em; color: var(--primary-color)">{{item.areaPower}}</span>
                    </span>
                </div>
                <div class="guobiao">
                    <div class="data-label">国标分</div>
                    <div class="data-value">{{item.guobiao}}</div>
                </div>
                <div class="data-item">
                    <span class="data-label">更新时间：</span>
                    <span class="data-value">{{item.updatetime}}</span>
                </div>
            </div>
            {{/each}}
        </div>
        <div class="plugin-name">GloryOfKings-Plugin</div>
    </div>
</body>